package com.camel.iamhi.service.impl;

import com.camel.iamhi.model.SysRole;
import com.camel.iamhi.repository.RoleRepository;
import com.camel.iamhi.service.RoleService;
import jakarta.annotation.Resource;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl extends AbstractBaseService<SysRole> implements RoleService<SysRole> {

    @Resource
    private RoleRepository roleRepository;

    @Override
    JpaRepository<SysRole, Long> getRepository() {
        return roleRepository;
    }
}
